package cn.bdqn.dao.wx;

import cn.bdqn.entity.SwiperImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ProjectName: ycbdqn
 * @Package: cn.bdqn.dao
 * @Author: huat
 * @Date: 2020/2/29 22:43
 * @Version: 1.0
 */
@Mapper
public interface SwiperDao {
    /**
     * 获取轮播图
     * @return 轮播图集合
     */
    List<SwiperImage> getSwiperImage();
    /**
     * 根据id查询轮播图详情
     * @param id
     * @return
     */
    String getSwiperById(@Param("id") int id);
}
